package com.qtu.gateway.feign.fallback;

import com.qtu.gateway.feign.GatewayFeignService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class GatewayFeignFallBack implements GatewayFeignService {
    @Override
    public Object get(String key) {
        log.error("redis-service 获取缓存信息失败！ key="+key);
        return null;
    }

    @Override
    public String exists(String key) {
        log.error("redis-service 判断key存活失败！ key="+key);
        return null;
    }
}
